<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>延迟显示</title>
</head>
<body>
<div id="change" class="change">
    <h1>Hello, World!</h1>
</div>

<script>
    let element = document.querySelector("#change");

    let add = document.createElement("h1");
    add.innerText = "Hello, Vue!"

    setTimeout(() => {
        element.appendChild(add)
    }, 3000)

</script>
</body>
</html>